package com.huangliusong.desigin.principle.singleresponsbility;

/**
 * @author huangliusong
 * @since 2018/10/9
 * {@link }
 */
public class Test {
    public static void main(String[] args) {
//        Bird bird=new Bird();
//        bird.mainMoveModel("大雁");
        FlyBird flyBird=new FlyBird();
        flyBird.mainMoveModel("大雁");

        WalkBird walkBird=new WalkBird();
        walkBird.mainMoveModel("鸵鸟");
    }
}
